<?php
/**
 * 模块开关
 * 
 * 'comment' 	=> array(
 *		'enable' => false,		false： 关闭  true：开启
 *		'ajax' 	 => false,		返回数据是否ajax json格式
 *		'method' => array(array('index', 'view_comment'), array('signature', 'index_show'))		嵌入首页的方法
 *	)
 */
$_SERVER['config']['enable'] = array(
	'all'		=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array()
	),//关闭sns
	
	'comment' 	=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array(array('index', 'view_comment'), array('signature', 'index_show'))
	),//评论
	
	'album' 	=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array()
	),//相册
	
	'blog' 		=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array()
	),//日志
	
	'quest' 	=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array()
	),//任务
	
	'poll' 		=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array()
	),//投票
	
	'cite' 		=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array()
	),//转帖
	
	'buff' 		=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array(array('index', 'show'))
	),//技能
	
	'gift' 		=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array()
	),//礼物
	
	'game' 		=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array(array('mygame', 'index_show'))
	),//游历
	
	'armory' 	=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array(array('index', 'get_embed'))
	),//魔兽
	
	'duel' 		=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array()
	),//战斗
	
	'friends' 	=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array(array('footprint', 'embed'), array('index', 'embed'), array('footprint', 'trace'))
	),//好友
	
	'favorite2' => array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array()
	),//收藏
	
	'sms' 		=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array()
	),//短信
	
	'notify' 	=> array(
		'enable' => true,
		'ajax' 	 => true,
		'method' => array(array('index', 'embed'))
	),//动态
	
	'money' 	=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array(array('controller', 'embed'))
	),//money
	
	'transfer' 	=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array(array('frame', 'info'))
	),//money
	
	'avatar'	=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array()
	),//头像
	
	'index' 	=> array(
		'enable' => true,
		'ajax' 	 => false,
		'method' => array(array('setting', 'get_embed_prop'))
	)//个人设置
);
